@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="entranceGuardRuleForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-4 b-r">
                    <#input id="ruleName" name="权限名称"/>
                </div>
                <div class="col-sm-4 b-r">
                    <#select id="timeInfo.id" name="门禁时段">
                    <option value=""></option>
                        @for(timeInfo in timeInfoList){
                        <option value="${timeInfo.id}">${timeInfo.name}</option>
                        @}
                    </#select>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="EntranceGuardRuleInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="EntranceGuardRuleInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/door/ENTRANCE/GUARD/RULE/entranceGuardRule_info.js"></script>
@}
